﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OJobReport.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MacModel.OJobReport" %>

<form id="pagerForm" method="post" action="MacModel/OJobReport.aspx">
<input type="hidden" name="Year" value="<%=Year %>" />
<input type="hidden" name="Month" value="<%=Month %>" />

<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="OJobReportform1" runat="server" method="post" action="MacModel/OJobReport.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    请选择要查看的月份:
                </td>
                <td>                   
                    <select name="Year" class="combox" onchange="return navTabSearch(OJobReportform1)">
                        <%=GetYearList()%>
                    </select>
                   <select name="Month" class="combox" onchange="return navTabSearch(OJobReportform1)">
                        <option value="1" <%=Month==1?"selected":"" %>>1月</option>
                        <option value="2" <%=Month==2?"selected":"" %>>2月</option>
                         <option value="3" <%=Month==3?"selected":"" %>>3月</option>
                         <option value="4" <%=Month==4?"selected":"" %>>4月</option>
                         <option value="5" <%=Month==5?"selected":"" %>>5月</option>
                        <option value="6" <%=Month==6?"selected":"" %>>6月</option>
                         <option value="7" <%=Month==7?"selected":"" %>>7月</option>
                         <option value="8" <%=Month==8?"selected":"" %>>8月</option>
                         <option value="9" <%=Month==9?"selected":"" %>>9月</option>
                        <option value="10" <%=Month==10?"selected":"" %>>10月</option>
                         <option value="11" <%=Month==11?"selected":"" %>>11月</option>
                         <option value="12" <%=Month==12?"selected":"" %>>12月</option>                        
                   </select>
                </td>
                <td>
                    <div class="subBar">
            <ul>
                
                <li  style=" display:none;">
                    <div class="buttonActive"><div class="buttonContent" ><a target="_blank" style=" line-height:25px!important;" href="MacModel/ExeclOJobReport.aspx?Year=<%=Year %>&Month=<%=Month %>">导出</a></div></div>
                </li>
                <li style=" font-weight:bold; line-height:25PX; text-align:right; color:Red;">
                    国产整机库存总计：<%=GetTotalMacStock()%>台
                </li>
                <li style=" font-weight:bold; line-height:25PX; text-align:right; color:Red;">
                    进口整机库存:<%=GetJKTotalMacStock() %>台
                </li>
                <li style=" font-weight:bold; line-height:25PX; text-align:right; color:Red;">
                    总下线:<%=GetTotal("下线实项")%>台
                </li>
                 <li style=" font-weight:bold; line-height:25PX; text-align:right; color:Red;">
                    总入库:<%=GetTotal("入库实项")%>台
                </li>
            </ul>
        </div>
                </td>
            </tr>
        </table>
        
    </div>
</div>
<div class="pageContent" >
    <div layoutH="40">
      
    <table width="100%" style="border-collapse:collapse; ">
        
        <tr>
            <td width="50%" align="center">
               <div style=" line-height:25px; font-size:16px; text-align:center;"><b>55NSLGB3 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,55NSLGB3 总库存为<b><%=getdate("55NSLGB3","整机库存","1-1","") %></b>台</div>
               
               <%=GetHtmlMacReport("55NSLGB3","")%>
            </td>
            <td>
                 <div style=" line-height:25px; font-size:16px; text-align:center;"><b>18VX 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,18VX总库存为<b><%=getdate("18VX","整机库存","1-1","") %></b>台</div>
               
               <%=GetHtmlMacReport("18VX","")%>
            </td>
        </tr>
        <tr>
            <td  width="50%">
                <div style=" line-height:25px; font-size:16px; text-align:center;"><b>80NSGB3 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,80NSGB3 总库存为<b><%=getdate("80NSGB3", "整机库存", "1-1", "")%></b>台</div>
               <%=GetHtmlMacReport("80NSGB3", "")%>
            </td>
            <td>
                 <div style=" line-height:25px; font-size:16px; text-align:center;"><b>40NS 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,40NS总库存为<b><%=getdate("40NS", "整机库存", "1-1", "")%></b>台</div>
               <%=GetHtmlMacReport("40NS", "")%>    
            </td>
        </tr>
       <tr>
        <td  width="50%">
               <div style=" line-height:25px; font-size:16px; text-align:center;"><b>65NSL 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">
                截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,
                65NSL总库存为<b><%=getdate("65NSL", "整机库存", "1-1", "")%></b>台.
               </div>
                <%=GetHtmlMacReport("65NSL", "")%>
            </td>
            <td>
                <div style=" line-height:25px; font-size:16px; text-align:center;"><b>68NSGB3 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">
                截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>, 68NSGB3 总库存为<b><%=getdate("68NSGB3", "整机库存", "1-1", "")%></b>台.
               </div>
                <%=GetHtmlMacReport("68NSGB3", "")%>
            </td>
       </tr>
         <tr>
            <td  width="50%">
                <div style=" line-height:25px; font-size:16px; text-align:center;"><b>100NSGB3 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,100NSGB3 总库存为<b><%=getdate("100NSGB3", "整机库存", "1-1", "")%></b>台</div>
               <%=GetHtmlMacReport("100NSGB3", "")%>
            </td>
            <td>
                <div style=" line-height:25px; font-size:16px; text-align:center;"><b>100NSTGB3 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,100NSTGB3 总库存为<b><%=getdate("100NSTGB3", "整机库存", "1-1", "")%></b>台</div>
               <%=GetHtmlMacReport("100NSTGB3", "")%>           
            </td>
        </tr>
        <tr>
             <td  width="50%">
                <div style=" line-height:25px; font-size:16px; text-align:center;"><b>135NS 库存汇总报表</b></div>
               <div style=" line-height:22px; font-size:13px; text-align:center; color:Red;">截止到<%=DateTime.Now.ToString("yyyy年MM月dd日")%>,135NS总库存为<b><%=getdate("135NS", "整机库存", "1-1", "")%></b>台</div>
               <%=GetHtmlMacReport("135NS", "")%>
            </td>
            <td></td>
        </tr>
        <%--<tr>
            <td><div style=" line-height:25px; font-size:16px; text-align:center;"><b>进口机库存情况(2014年3月25日更新)</b></div></td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>
                <table width="100%" class='list'>
                    <tr>
                        <th>机型</th>
                        <th>产地</th>
                        <th>订单未交货</th>
                        <th>在途数</th>
                        <th>在厂未入库</th>
                        <th>在厂库存</th>
                    </tr>
                    <tr>
                        <td>18VX001C</td>
                        <td>意大利</td>
                        <td>36</td>
                        <td>0</td>
                        <td>0</td>
                        <td>1</td>
                    </tr>
                    <%--<tr>
                        <td>17VX3</td>
                        <td>日本</td>
                        <td><%=Convert.ToInt32(IHISCETeim.BLL.SBOController.Get_W01001_OnHand("17VX301"))%></td>
                    </tr>
                    <tr>
                        <td>17VX</td>
                        <td>意大利</td>
                        <td><%=Convert.ToInt32(IHISCETeim.BLL.SBOController.Get_W01001_OnHand("18VX"))%></td>
                    </tr>
                    <tr>
                        <td>19VXT</td>
                        <td>意大利</td>
                        <td><%=Convert.ToInt32( IHISCETeim.BLL.SBOController.Get_W01001_OnHand("20VXT"))%></td>
                    </tr>--%>
                </table>
            </td>
            <td>&nbsp;</td>
        </tr>
    </table>
      
    </div>
</div>
</form>
